package com.taoyeshu.modules.sys.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.taoyeshu.common.persistence.CrudMapper;
import com.taoyeshu.modules.sys.entity.Log;
import com.taoyeshu.modules.sys.query.LogQuery;

@Repository
public interface LogMapper extends CrudMapper<Log, Integer> {

	int findCount(@Param("qo") LogQuery logQuery);

	List<Log> findList(@Param("qo") LogQuery logQuery, @Param("first") int first, @Param("max") int max);

}
